package org.example.aienglishapp.mapper.speech.sentence;

import org.example.aienglishapp.entity.speech.sentence.Sentence;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SentenceMapper {

    Sentence findById(Long sentenceId);
    List<Sentence> findAll();
    int insert(Sentence sentence);
    int update(Sentence sentence);
    int deleteById(Long sentenceId);
    List<Sentence> findByChapterId(Long chapterId);

}